Content Space
An object of class Content Space can be any Finder content space, including a container window, the desktop, an information window, a sharing window,
a status window, or a window.PROPERTIES
NoneELEMENT CLASSES
Like any window, a content space can contain any of the elements that can be contained by the object to which it belongs.COMMANDS HANDLED
Clean Up, Close, Count, Data Size, Exists, Get, Open, Print, Sort, UpdateDEFAULT VALUE RETURNED
Reference to a content space or, if you use the plural formcontent spaces
, a list of references.EXAMPLE
This script returns a list of all Finder content spaces that are currently open, including the desktop:
tell application "Finder" content spaces end tell --result: {information window of startup disk of application "Finder", window of folder "Projects" of startup disk of application "Finder", window of startup disk of application "Finder", window of disk "Applications" of application "Finder", content space of desktop of application "Finder"}For more information about using content spaces in scripts, see "References to Finder Windows," which begins on page 22.